{template header}

<div id="positionBox">
	<div class="left">
		<a href="{WEBURLPATH}/index.php">首页</a>&gt;
		<a href="{WEBURLPATH}/checkin.php">签到</a>
	</div>
</div>
<style>
.e2{
	width:670px;
}
.e2 li{
	width:100%;
	background: none repeat scroll 0 0 #FCFCFC;
    border: 1px dashed #DCE9E9;
    font-size: 1.2em;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 15px 15px 20px;
}


.e2 li b a{
	color:#555;
}
.e2 li a.preview{
	float: left;
    height: 48px;
    width: 48px;
}

.e2 li .content{
	margin: 0 0 0 68px;
}

.e2 li a.title{
	overflow:hidden;
	line-height:25px;
	font-weight:bold;
	font-size:1.2em;
	margin-left:2px;
	color: #6666CC;
}
.e2 li a.title:hover{text-decoration: none;}
.e2 span.info{
	display:block;
	line-height:23px;
	color:#555;
}
.e2 span.info small{
	color:#AAA;
	font-size:12px;
	margin-left:3px;
}
.e2 span.info a{
	color:#690;
}
.e2 p.intro{
	color:#776955;
	line-height:20px;
	margin-left:5px;
	padding-left:10px;
	padding-right:10px;
	text-indent:0em;
	margin:0px;
	padding:0px;
	font-size:1.2em;
	color:#333333
}

.listbox {
	clear: both;
    content: " ";
    display: block;
	margin-top:10px;
	float:left;
}
</style>
<div id="signinInfoBox">
	<div class="signinProBox" style="margin:0px 0px 10px 0px;">
		<img class="img" src="images/ad12.jpg" alt="" />
	</div>

	<div class="blocktitle"><strong>用户签到列表</strong><span></span></div>
	
	<div class="listbox">
		<ul class="e2">
			{loop $webglobal['file_companyComment'] $id $tempdata}
			<li style="display:block">
			<a class="preview">
			{if $tempdata['photo'] != ''}
				<img height="48" width="48" src="{WEBURLPATH}/{$tempdata['photo']}"></a>
			{elseif $tempdata['avatar'] != ''}
				<img height="48" width="48" src="{WEBURLPATH}{$tempdata['avatar']}"></a>
			{else}
				<img height="48" width="48" src="{WEBURLPATH}/images/dfboy.png"></a>
			{/if}
			</a>
			<div class="content">
				<h4 style="display:block">
				<a class="title">{$tempdata[personname]}</a>&nbsp;在&nbsp;<a href="{WEBURLPATH}/company.php?action=view&id={$tempdata[company_id]}" class="title">{$tempdata[companyname]}</a>&nbsp;签到
				</h4>
				{if $tempdata[addtime]}
				<span class="info">
				<small>签到时间：</small>{$tempdata[addtime]}
				</span>
				{/if}
				<span class="info">
				<small>评分: <img src="{WEBURLPATH}/images/mark{$tempdata['score']}.gif" title="{$tempdata['score']}分" alt="{$tempdata['score']}分" /></small>
				{if $tempdata['inquiry_title']}
				<small>{$tempdata['inquiry_title']}: {$tempdata['inquiry_result']}</small>
				{/if}
				</span>
				<p class="intro">
				{$tempdata[content]}
				</p>
			</div>
			</li>
			{/loop}
		</ul>
	</div>
	
	{template page}
</div>
	
	
	<div class="couponRight">
		<div class="topRightProBoxc"><img src="{WEBURLPATH}/images/ad07.jpg" alt="" /></div>
		<div class="topRightProBoxa"><img src="{WEBURLPATH}/images/toprightproa.gif" alt="" /></div>

		<div class="couponAboutBox">
			<div class="tit"><a href="#" class="left">热门签到商户</a></div>
			<ul class="cont">
			{loop $webglobal['file_companyComment_group'] $id $tempdata}
			<li>
				<!-- <img class="img" src="{WEBURLPATH}{$tempdata[photo]}" alt="" /> -->
				<a href="{WEBURLPATH}/company.php?action=view&id={$id}">$tempdata['name']</a> <span>有{$tempdata['countNum']}人签到</span>
			</li>
			{/loop}
			</ul>
		</div>
	</div>

{template footer}